package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcBuildingSort;
import com.csun.cmny.provider.model.dto.BuildingSortSaveDto;
import com.csun.cmny.provider.model.vo.BuildingSortVo;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-03-11 11:17
 * @Description: the interface omc building sort service
 */
public interface OmcBuildingSortService extends IService<OmcBuildingSort> {

    /**
     * query building sort
     *
     * @param groupId   group id
     *
     * @return  the building sort vo
     */
    BuildingSortVo queryBuildingSort(Long groupId);

    /**
     * save building sort
     *
     * @param buildingSortSaveDto   save building sort dto
     * @param loginAuthDto          login auth dto
     *
     * @return  the int.
     */
    Integer saveBuildingSort(BuildingSortSaveDto buildingSortSaveDto, LoginAuthDto loginAuthDto);
}
